import request from '@/utils/request'

export function getpermission(){
    return request({
        url:'admin/acl/permission'
    })
}
export function addsave(data){
    return request({
        method:'post',
        url:'admin/acl/permission/save',
        data
    })
}
export function update(data){
    return request({
        method:'put',
        url:'admin/acl/permission/update',
        data
    })
}
export function  remove(id){
    return request({
        method:'delete',
        url:'admin/acl/permission/remove/' + id
    })
}
 